home *** CD-ROM | disk | FTP | other *** search
/ Wayzata's Best of Shareware PC/Windows 1 / Wayzata's Best of Shareware for PC-Windows - Release 1 - Wayzata Technology (1993).iso / mac / DOS / PRINTERS / PSCRIPT / PSCRIPT.TXT < prev    next >
Text File  |  1992-05-20  |  2KB  |  45 lines

  1.     Pscript is a utility to print Paradox scripts, from within
  2. Paradox.It works from a table, and creates a DOS .BAT file
  3. containing print commands. I use a utility called Laserlst, from
  4. PC Magazine, but the DOS TYPE command works as well, and I think
  5. most "pretty-printing"utilities should work, too. The main
  6. concern is that they must not be TSRs loaded after Paradox,
  7. because of Paradox's memory management.
  8.  
  9.     I built Pscript because I couldn't find any way to print
  10. batches of Paradox scripts from within Paradox. You can always
  11. print one at a time, in the script editor, but that is annoying.
  12. Pscript allows you to select your directory, and will create a
  13. file called Pstbl.db if it is not already there. Pscript then
  14. builds a list of the scripts in your directory and displays them
  15. to you. Mark the ones you want to print with F6, and F2 to save
  16. the list. The utility then removes the unmarked ones,creates
  17. Scrprint.bat, and then  executes it. To suit your site, modify
  18. the CALC in the PRT() proc near the end of the listing. The list
  19. of printed scripts is retained until the next  time you run
  20. Pscript, so you can run Scrprint.bat from DOS anytime. Also, you
  21. have the option from Pscript to re-use the previous set of files.
  22. I had to restrict Pscript from listing and printing itself,
  23. because Windows wants SHARE loaded to run Paradox, causing
  24. sharing violations if Pscript writes a .BAT which tries to access
  25. Pscript.sc. If you don't run Paradox under Windows, you can
  26. modify the Query in GetList(), by removing the NOT Pscript
  27. restriction. The original copy of Pscript, with its .F file,
  28. should be in a directory called PDOX. If you put it anywhere
  29. else, you should change the first part of GetList(), which copies
  30. the table from there into your current directory.
  31.  
  32.     In terms of enhancements, I am toying with the notion of
  33. making file selection date sensitive, to select only files newer
  34. than an input date. I have also put a SETKEY into my INIT script
  35. which calls Pscript from Alt-S.
  36.  
  37.    Pscript is based on VcPgm.Sc by Martin Rudy, in a book called
  38. Paradox 3.5 Power Programming Techniques, both of which I find
  39. very useful (the script and book, that is!). I am starting out in
  40. developing Paradox routines, so Pscript is freeware, use and
  41. enjoy, and I appreciate any feedback. 
  42.  
  43.  Colin Campbell, Information Systems Consulting
  44.  9409 - 123 Avenue, Grande Prairie, Alberta T8V 5Y4
  45.  Voice/Fax (403)532-6159